Documents for PDF .NET Edition
GrapeCity.Documents.Imaging Assembly / GrapeCity.Documents.Common Namespace / OwnedKeyedCollection<TKey,TItem> Class / TryGetValue Method
The key of the item.
The item or default value if not found.

In This Topic
    TryGetValue Method (OwnedKeyedCollection<TKey,TItem>)
    In This Topic
    Get an item with specified key.
    Syntax
    'Declaration
     
    Public Function TryGetValue( _
       ByVal key As TKey, _
       ByRef item As TItem _
    ) As System.Boolean
    public System.bool TryGetValue( 
       TKey key,
       out TItem item
    )

    Parameters

    key
    The key of the item.
    item
    The item or default value if not found.

    Return Value

    true if item was found, false otherwise.
    See Also